<!--
  ~ Licensed to the Apache Software Foundation (ASF) under one
  ~ or more contributor license agreements.  See the NOTICE file
  ~ distributed with this work for additional information
  ~ regarding copyright ownership.  The ASF licenses this file
  ~ to you under the Apache License, Version 2.0 (the
  ~ "License"); you may not use this file except in compliance
  ~ with the License.  You may obtain a copy of the License at
  ~
  ~   http://www.apache.org/licenses/LICENSE-2.0
  ~
  ~ Unless required by applicable law or agreed to in writing,
  ~ software distributed under the License is distributed on an
  ~ "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
  ~ KIND, either express or implied.  See the License for the
  ~ specific language governing permissions and limitations
  ~ under the License.
  -->

<div>
    <div id="addAccessControlProvider.oldBrowserWarning" class="infoMessage hidden clear"></div>
    <div class="clear">
        <div id="addAccessControlProvider.serverPathLabel" class="formLabel-labelCell tableContainer-labelCell">Server path or upload*:</div>
        <div class="formLabel-controlCell tableContainer-valueCell">
            <input type="text" id="addAccessControlProvider.serverPath"
                   data-dojo-type="dijit/form/ValidationTextBox"
                   data-dojo-props="
                              name: 'serverPath',
                              placeHolder: 'access control provider file server path',
                              required: true,
                              excluded: true,
                              promptMessage: 'Location of the access control provider file on the server',
                              title: 'Enter the access control provider file path'" />

            <!-- Hidden and used purely for form submission -->
            <input type="hidden" id="addAccessControlProvider.path"
                   data-dojo-type="dijit/form/ValidationTextBox"
                   data-dojo-props="
                              name: 'path',
                              required: true" />
        </div>

        <div id="addAccessControlProvider.uploadFields">
            <div id="addAccessControlProvider.fileLabel" class="formLabel-labelCell tableContainer-labelCell"></div>
            <div class="fileUpload clear">
                <span id="addAccessControlProvider.selectedFile" class="infoMessage"></span>
                <span id="addAccessControlProvider.selectedFileStatus"></span>
            </div>

            <div class="fileUpload clear">
                <input type="file" id="addAccessControlProvider.file"
                       multiple="false"
                       data-dojo-type="dojox/form/Uploader"
                       data-dojo-props="label: 'Upload'"/>
                <button id="addAccessControlProvider.fileClearButton"
                        data-dojo-type="dijit/form/Button"
                        data-dojo-props="label: 'Clear',
                                        disabled: true">
                </button>
            </div>
        </div>

    </div>
</div>
